home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / INFO / BIOSDOS.ZIP / BIOSREF2.CRD < prev    next >
Text File  |  1987-08-13  |  48KB  |  364 lines

  1. SAU
  2.                11                                                       | 12                                                      |
  3.                           ┌───────────────────────────┐                 |                   ASCII TABLE                           |
  4.                           │ INT 19 - BOOTSTRAP LOADER │                 |                                                         |
  5.                           └───────────────────────────┘                 |     ╔═════╦═════╦═════╦═════╦═════╦═════╦═════╦═════╗   |
  6.                                                                         |     ║  0  ║  1  ║  2  ║  3  ║  4  ║  5  ║  6  ║  7  ║   |
  7.                 INPUT PARAMETERS: NONE                                  |   ╔═╬═════╬═════╬═════╬═════╬═════╬═════╬═════╬═════╣   |
  8.                OUTPUT PARAMETERS: NONE                                  |   ║0║ NUL ║ DLE ║SPACE║  0  ║  @  ║  P  ║  `  ║  p  ║   |
  9.                           OTHER: TRACK 0, SECTOR 1 IS LOADED INTO       |   ╠═╬═════╬═════╬═════╬═════╬═════╬═════╬═════╬═════╣   |
  10.                                  ADDRESS 0:7C00 AND CONTROL IS          |   ║1║ SOH ║ DC1 ║  !  ║  1  ║  A  ║  Q  ║  a  ║  q  ║   |
  11.                                  TRANSFERRED THERE                      |   ╠═╬═════╬═════╬═════╬═════╬═════╬═════╬═════╬═════╣   |
  12.                                                                         |   ║2║ STX ║ DC2 ║  "  ║  2  ║  B  ║  R  ║  b  ║  r  ║   |
  13.                    ┌──────────────────────────────────────────┐         |   ╠═╬═════╬═════╬═════╬═════╬═════╬═════╬═════╬═════╣   |
  14.                    │ INT 1A - SYSTEM AND REAL TIME CLOCK BIOS │         |   ║3║ ETX ║ DC3 ║  #  ║  3  ║  C  ║  S  ║  c  ║  s  ║   |
  15.                    └──────────────────────────────────────────┘         |   ╠═╬═════╬═════╬═════╬═════╬═════╬═════╬═════╬═════╣   |
  16.                                                                         |   ║4║ EOT ║ DC4 ║  $  ║  4  ║  D  ║  T  ║  d  ║  t  ║   |
  17.                INPUT PARAMETERS:                                        |   ╠═╬═════╬═════╬═════╬═════╬═════╬═════╬═════╬═════╣   |
  18.                                                                         |   ║5║ ENQ ║ NAK ║  %  ║  5  ║  E  ║  U  ║  e  ║  u  ║   |
  19.                AH = 00 - READ SYSTEM TIME COUNTER                       |   ╠═╬═════╬═════╬═════╬═════╬═════╬═════╬═════╬═════╣   |
  20.                ON EXIT:  CX = HIGH PORTION OF COUNT                     |   ║6║ ACK ║ SYN ║  &  ║  6  ║  F  ║  V  ║  f  ║  v  ║   |
  21.                          DX = LOW PORTION OF COUNT                      |   ╠═╬═════╬═════╬═════╬═════╬═════╬═════╬═════╬═════╣   |
  22.                          AL = 0 IF 24 HOURS NOT PASSED SINCE RESET      |   ║7║ BEL ║ ETB ║  '  ║  7  ║  G  ║  W  ║  g  ║  w  ║   |
  23.                                                                         |   ╠═╬═════╬═════╬═════╬═════╬═════╬═════╬═════╬═════╣   |
  24.                AH = 01 - SET SYSTEM TIME COUNTER                        |   ║8║ BS  ║ CAN ║  (  ║  8  ║  H  ║  X  ║  h  ║  x  ║   |
  25.                          CX = HIGH PORTION OF COUNT                     |   ╠═╬═════╬═════╬═════╬═════╬═════╬═════╬═════╬═════╣   |
  26.                          DX = LOW PORTION OF COUNT                      |   ║9║ HT  ║ EM  ║  )  ║  9  ║  I  ║  Y  ║  i  ║  y  ║   |
  27.                                                                         |   ╠═╬═════╬═════╬═════╬═════╬═════╬═════╬═════╬═════╣   |
  28.                AH = 02 - READ REAL TIME CLOCK TIME (PC/AT ONLY)         |   ║A║ LF  ║ SUB ║  *  ║  :  ║  J  ║  Z  ║  j  ║  z  ║   |
  29.                ON EXIT:  CH = HOURS IN BCD                              |   ╠═╬═════╬═════╬═════╬═════╬═════╬═════╬═════╬═════╣   |
  30.                          CL = MINUTES IN BCD                            |   ║B║ VT  ║ ESC ║  +  ║  ;  ║  K  ║  [  ║  k  ║  {  ║   |
  31.                          DH = SECONDS IN BCD                            |   ╠═╬═════╬═════╬═════╬═════╬═════╬═════╬═════╬═════╣   |
  32.                          DL = 1 IF DAYLIGHT SAVINGS TIME OPTION         |   ║C║ FF  ║ FS  ║  ,  ║  <  ║  L  ║  \  ║  l  ║  |  ║   |
  33.                          CY = 1 IF CLOCK NOT OPERATING                  |   ╠═╬═════╬═════╬═════╬═════╬═════╬═════╬═════╬═════╣   |
  34.                                                                         |   ║D║ CR  ║ GS  ║  -  ║  =  ║  M  ║  ]  ║  m  ║  }  ║   |
  35.                AH = 03 - SET REAL TIME CLOCK TIME (PC/AT ONLY)          |   ╠═╬═════╬═════╬═════╬═════╬═════╬═════╬═════╬═════╣   |
  36.                          CH = HOURS IN BCD                              |   ║E║ SO  ║ RS  ║  .  ║  >  ║  N  ║  ^  ║  n  ║  ~  ║   |
  37.                          CL = MINUTES IN BCD                            |   ╠═╬═════╬═════╬═════╬═════╬═════╬═════╬═════╬═════╣   |
  38.                          DH = SECONDS IN BCD                            |   ║F║ SI  ║ US  ║  /  ║  ?  ║  O  ║  _  ║  o  ║ DEL ║   |
  39.                          DL = 1 IF DAYLIGHT SAVINGS TIME OPTION         |   ╚═╩═════╩═════╩═════╩═════╩═════╩═════╩═════╩═════╝   |
  40.                                                                         |                                                         |
  41.                AH = 04 - READ REAL TIME CLOCK DATE (PC/AT ONLY)         |                                                         |
  42.                ON EXIT:  CH = CENTURY IN BCD                            |                                                         |
  43.                          CL = YEAR IN BCD                               |                    COLOR ATTRIBUTES                     |
  44.                          DH = MONTH IN BCD                              |                                                         |
  45.                          DL = DAY IN BCD                                | 0 - BLACK  4 - RED      8 - GRAY       C - LT. RED      |
  46.                          CY = 1 IF CLOCK NOT OPERATING                  | 1 - BLUE   5 - MAGENTA  9 - LT. BLUE   D - LT. MAGENTA  |
  47.                                                                         | 2 - GREEN  6 - BROWN    A - LT. GREEN  E - YELLOW       |
  48.                AH = 05 - SET REAL TIME CLOCK DATE (PC/AT ONLY)          | 3 - CYAN   7 - WHITE    B - LT. CYAN   F - BRIGHT WHITE |
  49.                          CH = CENTURY IN BCD                            |                                                         |
  50.                          CL = YEAR IN BCD                               |             * NOTE: SET BIT 4 FOR BLINK                 |
  51.                          DH = MONTH IN BCD                              |                                                         |
  52.                          DL = DAY IN BCD                                |                                                         |
  53.                                                                         |                                                         |
  54.                AH = 06 - SET REAL TIME CLOCK ALARM (PC/AT ONLY)         |                                                         |
  55.                          CH = HOURS IN BCD                              |                                                         |
  56.                          CL = MINUTES IN BCD                            |                                                         |
  57.                          DH = SECONDS IN BCD                            |                                                         |
  58.                ON EXIT:                                                 |                                                         |
  59.                          CY = 1 IF ALARM ALREADY SET OR CLOCK INOPERABLE|                                                         |
  60.                          INT 4A OCCURS AT SPECIFIED ALARM TIME          |                                                         |
  61.                                                                         |                                                         |
  62.                AH = 07 - RESET REAL TIME CLOCK ALARM                    |                                                         |
  63.                                                                         |                                                         |
  64.                AH = 08 - SET RTC ACTIVATED POWER ON MODE (CONVERTIBLE)  |                                                         |
  65.                          CH = HOURS IN BCD                              |                                                         |
  66.                          CL = MINUTES IN BCD                            |                                                         |
  67.                          DH = SECONDS IN BCD                            |                                                         |
  68.                                                                         |                                                         |
  69.                AH = 09 - READ RTC ALARM TIME AND STATUS (CONVERTIBLE)   |                                                         |
  70.                ON EXIT:  CH = HOURS IN BCD                              |                                                         |
  71.                          CL = MINUTES IN BCD                            |                                                         |
  72.                          DH = SECONDS IN BCD                            |                                                         |
  73.                          DL = ALARM STATUS:                             |                                                         |
  74.                             = 00 IF ALARM NOT ENABLED                   |                                                         |
  75.                             = 01 IF ALARM ENABLED BUT WILL NOT POWER    |                                                         |
  76.                               UP SYSTEM                                 |                                                         |
  77.                             = 02 IF ALARM WILL POWER UP SYSTEM          |                                                         |
  78.                                                                         |                                                         |
  79.                AH = 80 - SET UP SOUND MULTIPLEXOR (PCjr ONLY)           |                                                         |
  80.                          AL = 00 - SOURCE IS 8253 CHANNEL 2             |                                                         |
  81.                             = 01 - SOURCE IS CASSETTE INPUT             |                                                         |
  82.                             = 02 - SOURCE IS I/O CHANNEL "AUDIO IN"     |                                                         |
  83.                             = 03 - SOURCE IS SOUND GENERATOR CHIP       |                                                         |
  84.                                                                         |                                                         |
  85.                                                                         |                                                         |
  86.                                                                         |                                                         |
  87.                                                                         |                                                         |
  88.                                                                         |                                                         |
  89.                                                                         |                                                         |
  90.                                                                         |                                                         |
  91.                                                                         |                                                         |
  92.                                                                         |                                                         |
  93.                                                                         |                                                         |
  94.                                                                         |                                                         |
  95.                                                                         |                                                         |
  96.                                                                         |                                                         |
  97.                                                                         |                                                         |
  98.                                                                         |                                                         |
  99.                                                                         |                                                         |
  100.                                                                         |                                                         |
  101.                                                                         |                                                         |
  102.                                                                         |                                                         |
  103.                                                                         |                                                         |
  104.                                                                         |                                                         |
  105.                                                                         |                                                         |
  106.                                                                         |                                                         |
  107.                                                                         |                                                         |
  108.                                                                         |                                                         |
  109.                                                                         |                                                         |
  110.                                                                         |                                                         |
  111.                                                                         |                                                         |
  112.                                                                         |                                                         |
  113.                                                                         |                                                         |
  114.                                                                         |                                                         |
  115.                                                                         |                                                         |
  116.                                                                         |                                                         |
  117.                                                                         |                                                         |
  118.                                                                         |                                                         |
  119.                                                                         |                                                         |
  120.                                                                         |                                                         |
  121.  
  122.  
  123.                9                                                        |  10                                                     |
  124.                INT 15 - SYSTEM SERVICES BIOS AH = 41 (CONTINUED)        |               ┌────────────────────────┐                |
  125.                                                                         |               │ INT 16 - KEYBOARD BIOS │                |
  126.                          BH = CONDITION COMPARE OR MASK VALUE           |               └────────────────────────┘                |
  127.                          BL = TIMEOUT VALUE TIMES 55 MSEC.              |                                                         |
  128.                             = 0 IF NO TIME LIMIT                        |    INPUT PARAMETERS:                                    |
  129.                          DX = I/O PORT ADDRESS (IF AL BIT 4 = 1)        |                                                         |
  130.                          ES:DI = POINTER TO USER BYTE (IF AL BIT 4 = 0) |    AH = 00 - WAIT FOR KEYSTROKE AND READ                |
  131.                                                                         |    ON EXIT:                                             |
  132.                AH = 42 - REQUEST SYSTEM POWER OFF (CONVERTIBLE ONLY)    |              AH = SCAN CODE                             |
  133.                          AL = 00 TO USE SYSTEM PROFILE                  |              AL = ASCII CHARACTER IF APPLICABLE         |
  134.                             = 01 TO FORCE SUSPEND REGARDLESS OF PROFILE |                                                         |
  135.                                                                         |    AH = 01 - GET KEYSTROKE STATUS                       |
  136.                AH = 43 - READ SYSTEM STATUS (CONVERTIBLE ONLY)          |    ON EXIT:                                             |
  137.                ON EXIT:  AL = STATUS:                                   |              ZF = 0 IF KEY PRESSED                      |
  138.                          ┌─┬─┬─┬─┬─┬─┬─┬─┐                              |              AH = SCAN CODE                             |
  139.                          │7│6│5│4│3│2│1│0│ AL                           |              AL = ASCII CHARACTER IF APPLICABLE         |
  140.                          └─┴─┴─┴─┴─┴─┴─┴─┘                              |              NOTE: CODE NOT REMOVED FROM BUFFER         |
  141.                           │ │ │ │ │ │ │ │                               |                                                         |
  142.                           │ │ │ │ │ │ │ └───── LCD DETACHED             |    AH = 02 - GET SHIFT STATUS                           |
  143.                           │ │ │ │ │ │ └─────── RESERVED                 |    ON EXIT:                                             |
  144.                           │ │ │ │ │ └───────── RS232/PARALLEL POWERED ON|   ┌─┬─┬─┬─┬─┬─┬─┬─┐                                     |
  145.                           │ │ │ │ └─────────── INTERNAL MODEM POWERED ON|   │7│6│5│4│3│2│1│0│ AL                                  |
  146.                           │ │ │ └───────────── POWER ACTIVATED BY ALARM |   └─┴─┴─┴─┴─┴─┴─┴─┘                                     |
  147.                           │ │ └─────────────── STANDBY POWER LOST       |    │ │ │ │ │ │ │ │                                      |
  148.                           │ └───────────────── EXTERNAL POWER IN USE    |    │ │ │ │ │ │ │ └───── RIGHT SHIFT KEY DEPRESSED       |
  149.                           └─────────────────── BATTERY LOW              |    │ │ │ │ │ │ └─────── LEFT SHIFT KEY DEPRESSED        |
  150.                                                                         |    │ │ │ │ │ └───────── CONTROL SHIFT KEY DEPRESSED     |
  151.                AH = 44 - (DE)ACTIVATE INTERNAL MODEM POWER (CONVERTIBLE)|    │ │ │ │ └─────────── ALTERNATE SHIFT KEY DEPRESSED   |
  152.                          AL = 00 TO POWER OFF                           |    │ │ │ └───────────── SCROLL LOCK STATE ACTIVE        |
  153.                             = 01 TO POWER ON                            |    │ │ └─────────────── NUM LOCK STATE ACTIVE           |
  154.                                                                         |    │ └───────────────── CAPS LOCK STATE ACTIVE          |
  155.                AH = 4F - KEYBOARD INTERCEPT                             |    └─────────────────── INSERT STATE IS ACTIVE          |
  156.                          AL = SCAN CODE, CY=1                           |                                                         |
  157.                ON EXIT:                                                 |    AH = 04 - KEYBOARD CLICK ADJUSTMENT                  |
  158.                          AL = SCAN CODE, CY=1 IF PROCESSING DESIRED     |              AL = 1 FOR CLICK ON, =0 FOR CLICK OFF      |
  159.                                                                         |                                                         |
  160.                AH = 80 - DEVICE OPEN                                    |    AH = 05 - KEYBOARD BUFFER WRITE                      |
  161.                          BX = DEVICE ID                                 |              CH = SCAN CODE                             |
  162.                          CX = PROCESS ID                                |              CL = ASCII CHARACTER                       |
  163.                                                                         |    ON EXIT:                                             |
  164.                AH = 81 - DEVICE CLOSE                                   |              AL = 01 IF BUFFER FULL                     |
  165.                          BX = DEVICE ID                                 |                                                         |
  166.                          CX = PROCESS ID                                |    AH = 10 - EXTENDED WAIT FOR KEYSTROKE AND READ       |
  167.                                                                         |    ON EXIT:                                             |
  168.                AH = 82 - PROGRAM TERMINATION                            |              AH = SCAN CODE                             |
  169.                          BX = DEVICE ID                                 |              AL = ASCII CHARACTER IF APPLICABLE         |
  170.                                                                         |                                                         |
  171.                AH = 83 - EVENT WAIT                                     |    AH = 11 - EXTENDED GET KEYSTROKE STATUS              |
  172.                          AL = 0 TO SET INTERVAL                         |    ON EXIT:                                             |
  173.                             = 1 TO CANCEL                               |              ZF = 0 IF KEY PRESSED                      |
  174.                          ES:BX = POINTER TO MEMORY FLAG (BIT 7 IS SET   |              AH = SCAN CODE                             |
  175.                                  WHEN INTERVAL EXPIRES)                 |              AL = ASCII CHARACTER IF APPLICABLE         |
  176.                          CX,DX = NUMBER OF MICROSECONDS TO WAIT         |              NOTE: CODE NOT REMOVED FROM BUFFER         |
  177.                                  (GRANULARITY IS 976 MICROSECONDS)      |                                                         |
  178.                ON EXIT:  CY = 1 IF FUNCTION ALREADY BUSY                |    AH = 12 - EXTENDED GET SHIFT STATUS                  |
  179.                                                                         |    ON EXIT:                                             |
  180.                AH = 84 - JOYSTICK SUPPORT                               |   ┌─┬─┬─┬─┬─┬─┬─┬─┐                                     |
  181.                          DX = 0 TO READ THE CURRNENT SWITCH SETTINGS    |   │7│6│5│4│3│2│1│0│ AL                                  |
  182.                ON EXIT:  AL = SWITCH SETTINGS (BITS 7-4)                |   └─┴─┴─┴─┴─┴─┴─┴─┘                                     |
  183.                ON ENTRY: DX = 1 TO READ THE RESISTIVE INPUTS            |    │ │ │ │ │ │ │ │                                      |
  184.                ON EXIT:  AX = A(X),BX = A(Y), CX = B(X), DX = B(Y)      |    │ │ │ │ │ │ │ └───── RIGHT SHIFT KEY DEPRESSED       |
  185.                                                                         |    │ │ │ │ │ │ └─────── LEFT SHIFT KEY DEPRESSED        |
  186.                AH = 85 - SYSTEM REQUEST KEY PRESSED                     |    │ │ │ │ │ └───────── CONTROL SHIFT KEY DEPRESSED     |
  187.                          AL = 00 MAKE OF KEY                            |    │ │ │ │ └─────────── ALTERNATE SHIFT KEY DEPRESSED   |
  188.                             = 01 BREAK OF KEY                           |    │ │ │ └───────────── SCROLL LOCK STATE ACTIVE        |
  189.                                                                         |    │ │ └─────────────── NUM LOCK STATE ACTIVE           |
  190.                AH = 86 - ELAPSED TIME WAIT (PCAT AND AFTER)             |    │ └───────────────── CAPS LOCK STATE ACTIVE          |
  191.                          CL,DX = NUMBER OF MICROSECONDS TO WAIT         |    └─────────────────── INSERT STATE IS ACTIVE          |
  192.                                                                         |                                                         |
  193.                AH = 87 - MOVE BLOCK TO/FROM EXTENDED MEMORY             |   ┌─┬─┬─┬─┬─┬─┬─┬─┐                                     |
  194.                          CX = WORD COUNT OF BLOCK TO BE MOVED           |   │7│6│5│4│3│2│1│0│ AH                                  |
  195.                          ES:SI = POINTER TO GLOBAL DESCRIPTOR TABLE     |   └─┴─┴─┴─┴─┴─┴─┴─┘                                     |
  196.                                                                         |    │ │ │ │ │ │ │ │                                      |
  197.                AH = 88 - EXTENDED MEMORY SIZE DETERMINE                 |    │ │ │ │ │ │ │ └───── LEFT CONTROL KEY PRESSED        |
  198.                ON EXIT:  AX = NUMBER OF CONTIGUOUS 1K BLOCKS OF         |    │ │ │ │ │ │ └─────── LEFT ALT KEY DEPRESSED          |
  199.                               MEMORY STARTING AT ADDRESS 1024K          |    │ │ │ │ │ └───────── RIGHT CONTROL KEY PRESSED       |
  200.                                                                         |    │ │ │ │ └─────────── RIGHT ALT KEY DEPRESSED         |
  201.                AH = 89 - SWITCH PROCESSOR TO PROTECTED MODE             |    │ │ │ └───────────── SCROLL LOCK KEY DEPRESSED       |
  202.                          ES:SI = POINTER TO GDT                         |    │ │ └─────────────── NUM LOCK KEY DEPRESSED          |
  203.                          BH = OFFSET INTO IDT WHERE INTS 0-7 ARE        |    │ └───────────────── CAPS LOCK KEY DEPRESSED         |
  204.                          BL = OFFSET INTO IDT WHERE INTS 8-15 ARE       |    └─────────────────── SYSTEM REQUEST KEY DEPRESSED    |
  205.                                                                         |                                                         |
  206.                AH = 90 - DEVICE BUSY                                    |               ┌───────────────────────┐                 |
  207.                          AL = TYPE CODE:                                |               │ INT 17 - PRINTER BIOS │                 |
  208.                             = 00 - DISK                                 |               └───────────────────────┘                 |
  209.                             = 01 - DISKETTE                             |                                                         |
  210.                             = 02 - KEYBOARD                             |    AH = 00 - PRINT CHARACTER                            |
  211.                             = 80 - NETWORK (ES:BX = NCB)                |              AL = CHARACTER TO PRINT                    |
  212.                             = FC - DISK RESET                           |              DX = PRINTER TO BE USED (0,1,2)            |
  213.                             = FD - DISKETTE MOTOR START                 |    ON EXIT:                                             |
  214.                             = FE - PRINTER                              |              AH = STATUS                                |
  215.                ON EXIT:  CY = 1 IF WAIT TIME SATISFIED                  |                                                         |
  216.                                                                         |    AH = 01 - INITIALIZE THE PRINTER PORT                |
  217.                AH = 91 - INTERRUPT COMPLETE                             |              DX = PRINTER PORT TO BE INITIALIZED (0,1,2)|
  218.                          AL = TYPE CODE (SEE AH=90 ABOVE)               |    ON EXIT:                                             |
  219.                                                                         |              AH = STATUS                                |
  220.                AH = C0 - RETURN SYSTEM CONFIGURATION PARAMETERS         |                                                         |
  221.                ON EXIT:  ES:BX = POINTER TO SYSTEM DESCRIPTOR:          |    AH = 02 - READ PRINTER PORT STATUS                   |
  222.                                  WORD - LENGTH OF DESCRIPTOR            |              DX = PRINTER PORT TO BE USED (0,1,2)       |
  223.                                  BYTE - MODEL BYTE                      |    ON EXIT:                                             |
  224.                                  BYTE - SECONDARY MODEL BYTE            |              AH = STATUS                                |
  225.                                  BYTE - BIOS REVISION LEVEL             |                                                         |
  226.                                  BYTE - FEATURE INFORMATION:            |           ┌─┬─┬─┬─┬─┬─┬─┬─┐                             |
  227.                                  ┌─┬─┬─┬─┬─┬─┬─┬─┐                      |           │7│6│5│4│3│2│1│0│ PRINTER STATUS BITS         |
  228.                                  │7│6│5│4│3│2│1│0│ FEATURE BYTE         |           └─┴─┴─┴─┴─┴─┴─┴─┘                             |
  229.                                  └─┴─┴─┴─┴─┴─┴─┴─┘                      |            │ │ │ │ │ │ │ │                              |
  230.                                   │ │ │ │ │ │ │ │                       |            │ │ │ │ │ │ │ └───── TIME OUT                |
  231.                                   │ │ │ │ └─┴─┴─┴───── RESERVED         |            │ │ │ │ │ └─┴─────── NOT USED                |
  232.                                   │ │ │ └───────────── INT 15 AH=4F USED|            │ │ │ │ └─────────── I/O ERROR               |
  233.                                   │ │ └─────────────── RTC PRESENT      |            │ │ │ └───────────── SELECTED                |
  234.                                   │ └───────────────── 2ND 8259 PRESENT |            │ │ └─────────────── OUT OF PAPER            |
  235.                                   └─────────────────── DMA CHAN. 3 USED |            │ └───────────────── ACKNOWLEDGE             |
  236.                                                                         |            └─────────────────── NOT BUSY                |
  237.                                                                         |                                                         |
  238.                                                                         |                                                         |
  239.                                                                         |                                                         |
  240.                                                                         |                                                         |
  241.                                                                         |                                                         |
  242.  
  243.  
  244.                7                                                        |  8                                                      |
  245.                INT 13 - FIXED DISK BIOS (CONTINUED)                     | INT 14 - ASYNCHRONOUS COMMUNICATIONS BIOS (CONTINUED)   |
  246.                                                                         |                                                         |
  247.                AH = 0A - READ LONG                                      |    AH = 01 - SEND CHARACTER IN AL                       |
  248.                ON EXIT:  AL = NUMBER OF SECTORS ACTUALLY TRANSFERRED    |    ON EXIT:  AH = LINE STATUS                           |
  249.                                                                         |                                                         |
  250.                AH = 0B - WRITE LONG                                     |    AH = 02 - RECEIVE CHARACTER IN AL                    |
  251.                ON EXIT:  AL = NUMBER OF SECTORS ACTUALLY TRANSFERRED    |    ON EXIT:  AH = LINE STATUS                           |
  252.                                                                         |                                                         |
  253.                AH = 0C - SEEK                                           |    AH = 03 - READ STATUS                                |
  254.                                                                         |    ON EXIT:  AH = LINE STATUS                           |
  255.                AH = 0D - ALTERNATE DISK RESET                           |              AL = MODEM STATUS                          |
  256.                                                                         |                                                         |
  257.                AH = 0E - READ SECTOR BUFFER (XT, PORTABLE ONLY)         |    AH = 04 - EXTENDED INITIALIZE                        |
  258.                ON EXIT:  AL = NUMBER OF SECTORS ACTUALLY TRANSFERRED    |              AL = BREAK STATUS                          |
  259.                                                                         |                 = 1 IF BREAK                            |
  260.                AH = 0F - WRITE SECTOR BUFFER (XT, PORTABLE ONLY)        |                 = 0 IF NO BREAK                         |
  261.                ON EXIT:  AL = NUMBER OF SECTORS ACTUALLY TRANSFERRED    |              BH = PARITY                                |
  262.                                                                         |                 = 0 - NO PARITY                         |
  263.                AH = 10 - TEST DRIVE READY                               |                 = 1 - ODD PARITY                        |
  264.                                                                         |                 = 2 - EVEN PARITY                       |
  265.                AH = 11 - RECALIBRATE                                    |                 = 3 - STICK PARITY ODD                  |
  266.                                                                         |                 = 4 - STICK PARITY EVEN                 |
  267.                AH = 12 - CONTROLLER RAM DIAGNOSTIC (XT, PORTABLE ONLY)  |              BL = NUMBER OF STOP BITS                   |
  268.                                                                         |                 = 0 - ONE STOP BIT                      |
  269.                AH = 13 - DRIVE DIAGNOSTIC (XT, PORTABLE ONLY)           |                 = 1 - 2 STOP BITS (1½ IF 5 BIT WORD LEN)|
  270.                                                                         |              CH = WORD LENGTH                           |
  271.                AH = 14 - CONTROLLER INTERNAL DIAGNOSTIC                 |                 = 0 - 5 BITS                            |
  272.                                                                         |                 = 1 - 6 BITS                            |
  273.                AH = 15 - READ DASD TYPE (PC/AT ONLY)                    |                 = 2 - 7 BITS                            |
  274.                ON EXIT:  AH = 00 IF DRIVE NOT PRESENT                   |                 = 3 - 8 BITS                            |
  275.                             = 03 IF FIXED DISK PRESENT                  |              CL = BAUD RATE                             |
  276.                          CX,DX = NUMBER OF 512 BYTE BLOCKS              |                 = 0 - 110                               |
  277.                                                                         |                 = 1 - 150                               |
  278.                AH = 16 - RESERVED FOR DISKETTE                          |                 = 2 - 300                               |
  279.                                                                         |                 = 3 - 600                               |
  280.                AH = 17 - RESERVED FOR DISKETTE                          |                 = 4 - 1200                              |
  281.                                                                         |                 = 5 - 2400                              |
  282.                AH = 18 - RESERVED FOR DISKETTE                          |                 = 6 - 4800                              |
  283.                                                                         |                 = 7 - 9600                              |
  284.                AH = 19 - PARK FIXED DISK HEADS (XT MODEL 286)           |                 = 8 - 19200                             |
  285.                                                                         |    ON EXIT:                                             |
  286.                                                                         |              AL = MODEM STATUS                          |
  287.                  ┌───────────────────────────────────────────┐          |              AH = LINE CONTROL STATUS                   |
  288.                  │ INT 14 - ASYNCHRONOUS COMMUNICATIONS BIOS │          |                                                         |
  289.                  └───────────────────────────────────────────┘          |    AH = 05 - EXTENDED COMMUNICATION PORT CONTROL        |
  290.                                                                         |              AL = 00 - READ MODEM CONTROL REGISTER      |
  291.                 FOR INT 14 THE FOLLOWING STATUS IS DEFINED:             |                        BL = MODEM CONTROL REG (SEE AL=1)|
  292.                                                                         |              AL = 01 - WRITE MODEM CONTROL REGISTER     |
  293.                     ┌─┬─┬─┬─┬─┬─┬─┬─┐                                   |                        BL = MODEM CONTRO REGISTER:      |
  294.                     │7│6│5│4│3│2│1│0│ MODEM STATUS                      |              ┌─┬─┬─┬─┬─┬─┬─┬─┐                          |
  295.                     └─┴─┴─┴─┴─┴─┴─┴─┘                                   |              │7│6│5│4│3│2│1│0│ BL (FOR AL=00 AND AL=01) |
  296.                      │ │ │ │ │ │ │ │                                    |              └─┴─┴─┴─┴─┴─┴─┴─┘                          |
  297.                      │ │ │ │ │ │ │ └───── DELTA CLEAR TO SEND           |               │ │ │ │ │ │ │ │                           |
  298.                      │ │ │ │ │ │ └─────── DELTA DATA SET READY          |               │ │ │ │ │ │ │ └───── DATA TERMINAL READY  |
  299.                      │ │ │ │ │ └───────── TRAILING EDGE RING DETECTOR   |               │ │ │ │ │ │ └─────── REQUEST TO SEND      |
  300.                      │ │ │ │ └─────────── DELTA RECEIVE LINE SIGNAL DET.|               │ │ │ │ │ └───────── OUT1                 |
  301.                      │ │ │ └───────────── CLEAR TO SEND                 |               │ │ │ │ └─────────── OUT2                 |
  302.                      │ │ └─────────────── DATA SET READY                |               │ │ │ └───────────── LOOP                 |
  303.                      │ └───────────────── RING INDICATOR                |               └─┴─┴─────────────── RESERVED             |
  304.                      └─────────────────── RECEIVE LINE SIGNAL DETECT    |    ON EXIT:                                             |
  305.                                                                         |              AH = STATUS                                |
  306.                     ┌─┬─┬─┬─┬─┬─┬─┬─┐                                   |                                                         |
  307.                     │7│6│5│4│3│2│1│0│ LINE STATUS                       |                                                         |
  308.                     └─┴─┴─┴─┴─┴─┴─┴─┘                                   |              ┌───────────────────────────────┐          |
  309.                      │ │ │ │ │ │ │ │                                    |              │ INT 15 - SYSTEM SERVICES BIOS │          |
  310.                      │ │ │ │ │ │ │ └───── DATA READY                    |              └───────────────────────────────┘          |
  311.                      │ │ │ │ │ │ └─────── OVERRUN ERROR                 |                                                         |
  312.                      │ │ │ │ │ └───────── PARITY ERROR                  |    INPUT PARAMETERS:                                    |
  313.                      │ │ │ │ └─────────── FRAMING ERROR                 |                                                         |
  314.                      │ │ │ └───────────── BREAK DETECT                  |    AH = 00 - TURN CASSETTE MOTOR ON (PC,PCjr ONLY)      |
  315.                      │ │ └─────────────── TRANSMIT HOLDING REG. EMPTY   |                                                         |
  316.                      │ └───────────────── TRANSMIT SHIFT REGISTER EMPTY |    AH = 01 - TURN CASSETTE MOTOR OFF (PC,PCjr ONLY)     |
  317.                      └─────────────────── TIME OUT *                    |                                                         |
  318.                                                                         |    AH = 02 - READ BLOCKS FROM CASETTE (PC,PCjr ONLY)    |
  319.                  * NOTE: IF BIT 7 SET THEN OTHER BITS ARE INVALID       |              ES:BX = OFFSET OF DATA BUFFER              |
  320.                                                                         |              CX = COUNT OF BYTES TO READ                |
  321.                 ALL ROUTINES HAVE AH=FUNCTION NUMBER AND DX=RS232 CARD  |    ON EXIT:                                             |
  322.                 NUMBER (0 BASED). AL=CHARACTER TO SEND OR RECEIVED      |              ES:BX = OFFSET OF LAST BYTE READ+1         |
  323.                 CHARACTER ON EXIT, UNLESS OTHERWISE NOTED.              |              DX = COUNT OF BYTES ACTUALLY READ          |
  324.                                                                         |              AH = ERROR CODE IF CY=1                    |
  325.                AH = 00 - INITIALIZE COMMUNICATIONS PORT                 |                                                         |
  326.                          AL = PARMS FOR INITIALIZATION:                 |    AH = 03 - WRITE BLOCKS TO CASETTE (PC,PCjr ONLY)     |
  327.                          ┌─┬─┬─┬─┬─┬─┬─┬─┐                              |              ES:BX = OFFSET OF DATA BUFFER              |
  328.                          │7│6│5│4│3│2│1│0│ AL                           |              CX = COUNT OF BYTES TO WRITE               |
  329.                          └─┴─┴─┴─┴─┴─┴─┴─┘                              |    ON EXIT:                                             |
  330.                           │ │ │ │ │ │ │ │                               |              ES:BX = OFFSET OF LAST BYTE WRITTEN+1      |
  331.                           │ │ │ │ │ │ └─┴───── WORD LENGTH              |              AH = ERROR CODE IF CY=1                    |
  332.                           │ │ │ │ │ └───────── STOP BITS                |                                                         |
  333.                           │ │ │ └─┴─────────── PARITY                   |    AH = 40 - READ / MODIFY PROFILES (CONVERTIBLE ONLY)  |
  334.                           └─┴─┴─────────────── BAUD RATE                |              AL = 00 - RETURN SYSTEM PROFILE IN CX,BX   |
  335.                                                                         |              AL = 01 - MODIFY SYSTEM PROFILE            |
  336.                          WORD LENGTH: 10 = 7 BITS                       |                        CX,BX = PROFILE INFO             |
  337.                                       11 = 8 BITS                       |              AL = 02 - RET. INTERNAL MODEM PROFILE IN BX|
  338.                                                                         |              AL = 03 - MODIFY INTERNAL MODEM PROFILE    |
  339.                            STOP BITS:  0 = 1 STOP BIT                   |                        BX = PROFILE INFO                |
  340.                                        1 = 2 STOP BITS                  |                                                         |
  341.                                                                         |    AH = 41 - WAIT ON EXTERNAL EVENT (CONVERTIBLE ONLY)  |
  342.                               PARITY: X0 = NONE                         |              AL = CONDITION TYPE:                       |
  343.                                       01 = ODD                          |          ┌─┬─┬─┬─┬─┬─┬─┬─┐                              |
  344.                                       11 = EVEN                         |          │7│6│5│4│3│2│1│0│ AL                           |
  345.                                                                         |          └─┴─┴─┴─┴─┴─┴─┴─┘                              |
  346.                            BAUD RATE:000 = 110 BAUD                     |           │ │ │ │ │ │ │ │                               |
  347.                                      001 = 150 BAUD                     |           │ │ │ │ │ └─┴─┴───── CONDITION TO WAIT FOR    |
  348.                                      010 = 300 BAUD                     |           │ │ │ │ └─────────── RESERVED                 |
  349.                                      011 = 600 BAUD                     |           │ │ │ └───────────── 1=PORT ADDR./0=USER BYTE |
  350.                                      100 = 1200 BAUD                    |           └─┴─┴─────────────── RESERVED                 |
  351.                                      101 = 2400 BAUD                    |                                                         |
  352.                                      110 = 4800 BAUD                    |              CONDITION CODES:                           |
  353.                                      111 = 9600 BAUD                    |                                                         |
  354.                                                                         |              0 = ANY EXTERNAL EVENT                     |
  355.                ON EXIT:  AL = MODEM STATUS                              |              1 = COMPARE AND RETURN IF EQUAL            |
  356.                          AH = LINE STATUS                               |              2 = COMPARE AND RETURN IF NOT EQUAL        |
  357.                                                                         |              3 = TEST AND RETURN IF NOT ZERO            |
  358.                                                                         |              4 = TEST AND RETURN IF ZERO                |
  359.                                                                         |                                                         |
  360.                                                CONTINUED ON NEXT PANEL  |                                                         |
  361.                                                                         |                                CONTINUED ON NEXT PANEL  |
  362.                                                                         |                                                         |
  363.  
  364.